package com.wing.common;

import java.util.Map;


public class Constants {

	public static Map urlMap = null;
	
	
	//用户添加时默认的密码
	public static String defaultPassword="123456";
	
	//超级管理员角色id
	public static final String SYSTEM_SUPERADMIN_ROLEID = "000000010012c52319f8";
	//超级管理员id
	public static final String SYSTEM_SUPERADMIN_ID = "999999999";
	//超级管理员工作站点
	public static final String WORK_SITE = "111111111";

	// 系统管理参数
	public static final String SESSION_USER_ID = "UserId";
	public static final String SESSION_USER_NAME = "UserName";
	public static final String SESSION_DEPT_ID = "DepId";
	public static final String SESSION_DEPT_NAME = "DepName";
	public static final String SESSION_ROLE_ID = "RoleId";
	public static final String SESSION_ROLE_NAME = "RoleName";
	public static final String SESSION_DEPT_VECTOR = "DepVector";
	public static final String SESSION_ROLE_VECTOR = "RoleVector";
	public static final String SESSION_SITE_ID = "SiteId";
	public static final String SESSION_SITE_NAME = "SiteName";
	public static final String SESSION_SITE_PATH = "SitePath";

	public static final String SESSION_SITE_USER_ID = "SiteUserId";
	public static final String SESSION_SITE_ACCESS_PATH = "SiteAccessPath";
	
	
	public static final String SESSION_SITE_USER_NAME = "failure";
	
	
	
	//当前用户的所有有权限的模块列表
	public static final String SESSION_USER_MODULES = "userModules";
	//当前用户有权限的所有模块功能MAP 
	public static final String SESSION_USER_MACTION = "userModuleActions";
	public static final String SESSION_USER_SKIN_PATH = "selfSkinPath";
	public static final String ERROR_DELETE = "删除数据失败！";
	public static final String ERROR_USERNAME_EXIST = "该登录帐号已经存在!";
	public static final String ERROR_CODE_EXIST = "该基本编码信息已经存在!";
	public static final String ERROR_LOGIN = "loginerror";
	public static final String CODE_CONSTANT_ROLETYPE = "r000000000000001";
	//系统登录的链接
	public static final String SYS_LOGIN_URL = "/login.action";
	//从系统通用的选择组件选择结果的分隔符“｜”;
	public static final String SELECT_REGEX = "\\|";
	// AJAX成功\失败标记
	public static final String DEFAULT_AJAX_SUCCESS = "success";
	public static final String DEFAULT_AJAX_FAILURE = "failure";
	
	public static final String SPRING_SERVLET_DISPLAY_NAME = "org.springframework.web.servlet.FrameworkServlet.CONTEXT.Spring MVC Dispatcher Servlet";
}
